From 030140ccc4f1eeacc3782509f78108db0dd66b80 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 30 May 2014 04:33:06 +0200 Subject: [PATCH] reftests: Add a reftest with signals --- testsuite/reftests/Makefile.am | 2 ++ .../window-show-contents-on-map.ref.ui | 21 +++++++++++++++++++ .../reftests/window-show-contents-on-map.ui | 18 ++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 testsuite/reftests/window-show-contents-on-map.ref.ui create mode 100644 testsuite/reftests/window-show-contents-on-map.ui diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am index a5c940d345..7b4b1e3e10 100644 --- a/testsuite/reftests/Makefile.am +++ b/testsuite/reftests/Makefile.am @@ -330,6 +330,8 @@ testdata = \ window-default-size.ui \ window-height-for-width.ref.ui \ window-height-for-width.ui \ + window-show-contents-on-map.ref.ui \ + window-show-contents-on-map.ui \ $(NULL) EXTRA_DIST += \ diff --git a/testsuite/reftests/window-show-contents-on-map.ref.ui b/testsuite/reftests/window-show-contents-on-map.ref.ui new file mode 100644 index 0000000000..d96ec68e95 --- /dev/null +++ b/testsuite/reftests/window-show-contents-on-map.ref.ui @@ -0,0 +1,21 @@ + + + + + + 200 + 200 + False + popup + + + True + False + This label is only shown when the window is mapped. So the window does its first size allocation without the label being visible and has to resize. + True + 20 + 20 + + + + diff --git a/testsuite/reftests/window-show-contents-on-map.ui b/testsuite/reftests/window-show-contents-on-map.ui new file mode 100644 index 0000000000..def0bf9ccf --- /dev/null +++ b/testsuite/reftests/window-show-contents-on-map.ui @@ -0,0 +1,18 @@ + + + + + + False + popup + + + + False + This label is only shown when the window is mapped. So the window does its first size allocation without the label being visible and has to resize. + 20 + True + + + + -- 2.30.2